package com.coo1.onlineorder.server.data;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class MSTADMIN implements java.io.Serializable{
    
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private String username;
   
    @Persistent
    private String password;
    
    @Persistent
    private String adminmail;
 

    public MSTADMIN(String username, String password, String adminmail) {
        this.username = username;
        this.password = password;
        this.adminmail = adminmail;
    }

    public String getUserName() {
        return username;
    } 
    public void setUserName(String username) {
        this.username = username;
    } 

    public String getPassword() {
        return password;
    } 
    public void setPassword(String password) {
        this.password = password;
    } 
    
    public String getMail() {
        return adminmail;
    } 
    public void setMail(String mailAddress) {
        this.adminmail = mailAddress;
    } 
}